/**
 * 
 */
package com.zhanggz.mypattern.observer;

/**
 * 具体的目标对象，负责把有关状态存入到相应的观察者对象中
 * 
 * @author Alex
 * @date 2015年6月23日
 */
public class ConcreteWeatherSubject extends WeatherSubject {

	// 天气状态
	private String weatherState;

	/**
	 * @return the weatherState
	 */
	public String getWeatherState() {
		return weatherState;
	}

	/**
	 * @param weatherState
	 *            the weatherState to set
	 */
	public void setWeatherState(String weatherState) {
		this.weatherState = weatherState;
		this.notifyObserver();
	}

}
